package cn.gcjxsc.form;

import cn.gcjxsc.consts.ErrorConst;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 会员申请成为业务员表单数据.
 *
 * @author pumbaa
 * @since 1.0
 */
public class ApplyInfoForm {
    @NotNull(message = ErrorConst.EMPTY_MEMBER_ID)
    private Integer memberId;
    @NotNull(message = "店铺不能为空")
    private Integer storeId;
    @NotBlank(message = "手机号码不能为空")
    private String mobile;
    @NotBlank(message = "姓名不能为空")
    private String name;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
